package com.itheima.pojo;

import com.itheima.dto.flavorsDto;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author 王同学
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Dish extends time {
    //新增菜品
    private String id;
    private Integer type; //菜品分类
    private String name;
    private String categoryId;
    private String categoryName;
    private BigDecimal price;//价格
    private String code;
    private String image; //配图
    private String description; //菜品描述
    private Integer sort;
    private List<flavorsDto> flavors;

}
